getting a column that corresponds to the average of two columns in pandas

39

df_mean = df[["a", "b"]].mean()

Comments

Submit
0 Comments